using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Transaction
{
   
    public class UnitTrustNav 
    {
        #region Properties
              // UNIT_TRUST_NAV_ID
        public virtual int ID { set; get; }
      // UNIT_TRUST_HEADER_ID
        public virtual int? UnitTrustHeaderID { set; get; }
      // UNIT_TRUST_NAV
        public virtual decimal? Nav { set; get; }
      // UNIT_TRUST_NAV_DATE
        public virtual DateTime? Date { set; get; }

        #endregion

        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(UnitTrustNav) && !(obj is UnitTrustNav))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}",ID);
        }

    }


}